<template>
  <div>
    <h1>Home</h1>
    <div>{{ user }}</div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { mapState } from 'vuex'
export default defineComponent({
  name: 'Home',
  components: {},
  setup () {
    return {
      a: 111
    }
  },
  computed: {
    ...mapState(['user'])
  }
})
</script>
